package com.bianmaba.oauth2.service.order;

import com.bianmaba.oauth2.bean.entity.Order;
import com.bianmaba.oauth2.repository.order.OrderRepository;
import com.bianmaba.spring.supports.service.BaseService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by cwx183898 on 2017/12/14.
 */
@Service
@Transactional
public class OrderService extends BaseService<Order, String> implements IOrderService {
    private static final Log LOG = LogFactory.getLog(OrderService.class);
    @Autowired
    private OrderRepository repository;

    @Override
    public OrderRepository getRepository() {
        return repository;
    }
}
